package com.wc.alorithm_blue_bridge._思维.Q1463;

import java.util.ArrayList;

/**
 * @Author congege
 * @Description 货物摆放
 * https://www.lanqiao.cn/problems/1463/learning/?page=1&first_category_id=1&sort=students_count&second_category_id=3
 * @Date Created in 2023/9/18-18:17
 */
public class Main {
    public static void main(String[] args) {
        long n = 2021041820210418L;

        ArrayList<Long> arrayList = new ArrayList<>();
        for (long i = 1L; i <= Math.pow(n, 1.0 / 2); i++) {
            if (n % i == 0) {
                arrayList.add(i);
                if (n / i != i) {
                    arrayList.add(n / i);
                }
            }
        }
        long res = 0;
        for (long i : arrayList) {
            for (long j : arrayList) {
                for (long k : arrayList) {
                    if (i * j * k == n) {
                        res++;
                    }
                }
            }
        }
        System.out.println(res);
    }
}
